package top.fzqblog.kotlinapp.activity

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_auth.*
import org.jetbrains.anko.sdk25.coroutines.onClick
import top.fzqblog.kotlinapp.R
import top.fzqblog.kotlinapp.func.startActivity

/**
* Created by 抽离 on 2017/11/24 0024.
*/
class AuthActivity: AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_auth)

        confirmLogin.onClick {
            setResult(1)
            finish()
        }
    }
}